<script id="navTpl" type="text/html">
<div class="hhq-box" style="margin:20px;" id="nav">
    <div class="hhq-box-hd">导航组</div>
    <div class="hhq-box-bd">
        <div class="layui-clear">
            <form class="layui-form" action="">
                <div class="layui-form-item">
                    <label class="layui-form-label">背景颜色</label>
                    <div class="layui-input-inline" style="width: 120px;">
                        <input type="text" value="" placeholder="请选择颜色" class="layui-input" id="test-form-input">
                    </div>
                    <div class="layui-inline" style="left: -11px;">
                        <div id="navigation-background-colorpicker"></div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">每行数量</label>
                    <div class="layui-input-block">
                        <input type="radio" name="sex" value="三个" title="三个">
                        <input type="radio" name="sex" value="四个" title="四个" checked>
                        <input type="radio" name="sex" value="五个" title="五个">
                    </div>
                </div>
                <div class="layui-form-item" style="background-color: #c4f8fb;position: relative;padding: 20px 0px 20px">
                    <div class="layui-inline">
                        <label class="layui-form-label">图片</label>
                        <div class="layui-upload-drag" id="test10">
                            <i class="layui-icon"></i>
                            <p>点击上传，或将图片拖拽到此处</p>
                            <p>建议尺寸100x100</p>
                        </div>
                    </div>
                    <i class="layui-icon layui-icon-close" style="font-size: 20px; color: #1E9FFF;background-color: #aaa;border-radius: 50%;position: absolute;right: -10px;top: -10px"></i>
                    <div class="" style="height: 50px">
                        <label class="layui-form-label">文字内容</label>
                        <div class="layui-input-inline" style="width: 300px">
                            <input type="text" value="" placeholder="" class="layui-input" id="test-form-input">
                        </div>
                    </div>
                    <div class="" style="height: 50px">
                        <label class="layui-form-label">文字颜色</label>
                        <div class="layui-input-inline" style="width: 120px;">
                            <input type="text" value="" placeholder="请选择颜色" class="layui-input" id="test-form-input">
                        </div>
                        <div class="layui-inline" style="left: -11px;">
                            <div id="navigation-fontcolor-colorpicker"></div>
                        </div>
                    </div>
                    <div class="" style="height: 50px">
                        <label class="layui-form-label">链接地址</label>
                        <div class="layui-input-inline" style="width: 300px">
                            <input type="text" value="" placeholder="http://" class="layui-input" id="test-form-input">
                        </div>
                    </div>
                </div>

                <button type="button" class="layui-btn layui-btn-primary layui-btn-fluid">添加一个</button>
            </form>
        </div>
    </div>
</div>
</script>